{% extends "base.html" %}
{% load filters %}
{% block content %}
	<div>
		<div class="container-fluid mb-5">
			{% include context.question|choice_format:False with question=context.question isTitle=True only %}
			<div class="row me-3 mt-3">
				<div class="d-flex flex-column">
					<div class="fs-2">
						Ответы
					</div>
					{% for answer in context.answers %}
						{% include 'cards/answer.html' with answer=answer only %}
					{% endfor %}
					<form class="mt-3">
						<label for="answerTextId" class="form-label fs-4">Ваш ответ</label>
						<textarea class="form-control" id="answerTextId" rows="5"></textarea>
						<button type="submit" class="btn btn-primary mt-2">Ответить</button>
					</form>
				</div>
			</div>
		</div>
	</div>
{% endblock %}

{% block pagination %}
	{% if context.pagination.needPagination %}
		{% include 'pagination/pagination.html' with pagination=context.pagination only %}
	{% endif %}
{% endblock %}